-- GENERATED SPELL FOR [Enslaved Netherwing Whelp] --


function spell0_21721(pUnit, Event) --@Arcane Bolt,n/a--
pUnit:FullCastSpellOnTarget(38340,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21721', 2500, 1)
end

function Sorts_21721(pUnit, Event)
local choix_sorts_21721 = math.random(0, 0)
if choix_sorts_21721 == 0 then
pUnit:RegisterEvent('spell0_21721', 1, 1)
end
end

function mob21721_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21721', math.random(1500, 3000), 1)
end

function mob21721_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21721_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21721_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21721, 1, 'mob21721_Action')
RegisterUnitEvent(21721, 2, 'mob21721_Leave')
RegisterUnitEvent(21721, 3, 'mob21721_Kill')
RegisterUnitEvent(21721, 4, 'mob21721_Die')
